
<?php if($position != 'column_left') { ?>

<div class="box boss-latest">
    <div class="boss-heading">
        <span><?php echo $heading_title; ?></span>
    </div>
    <div class="box-description"> </div>
    <div class="boss-latest-content" id="boss-latest-content0">
        <?php $i=0; foreach ($products as $product) { $i++; ?>
        <div class="box-product-latest <?php if($i%4==0) echo "last"; ?>">
            <div class="image"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>"/></a></div>
            <div class="detail">
                <div class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></div>
                <div class="description">
                    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vel nunc ipsum, in placerat sap..</div>
                <?php if ($product['special']) { ?>
                <div class="discount color-1">
                    <?php echo $product['discount']; ?>
                </div>
                <?php } ?>

                <div class="price">
                    <?php if (!$product['special']) { ?>
                    <?php echo $product['price']; ?>
                    <?php } else { ?>
                    <?php echo $product['special']; ?>
                    <?php } ?>
                </div>
                <div class="cart"><a onclick="boss_addToCart('<?php echo $product['product_id']; ?>');" class="button_cart"><?php echo $button_cart; ?></a></div>
            </div>
        </div>
        <?php } ?>
    </div>
</div>

<?php } else { ?>

<div class="box boss_lastestreview">
	<div class="box-heading"><?php echo $heading_title; ?></div>
	<div class="box-lastestreview-content" id="boss_lastestreview0">
    
    
    <?php $i=0; foreach ($products as $product) { $i++; ?>
					<div class="product_review">
								<div class="image"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>"></a></div>
								<div class="detail">
				<div class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></div>
				<div class="reviews"> Maecenas commodo sagittis tellus del ad..</div>
								<div class="price">
                                 <?php if (!$product['special']) { ?>
                    <?php echo $product['price']; ?>
                    <?php } else { ?>
                    <span class="price-old"><?php echo $product['price']; ?></span> <span class="price-new"><?php echo $product['special']; ?></span>
                    
                    <?php } ?>										
									</div>
								</div>
			</div>
            
            <?php } ?>
            
      </div></div>
      
      <?php } ?>      
					







